// Learn TypeScript:
//  - https://docs.cocos.com/creator/2.4/manual/en/scripting/typescript.html
// Learn Attribute:
//  - https://docs.cocos.com/creator/2.4/manual/en/scripting/reference/attributes.html
// Learn life-cycle callbacks:
//  - https://docs.cocos.com/creator/2.4/manual/en/scripting/life-cycle-callbacks.html

import { PrefabNames } from "../Enums/GameEnum";
import PoolManager from "../Managers/PoolManager";

const { ccclass, property } = cc._decorator;

@ccclass
export default class CombatAnimComp extends cc.Component {

    public animComplate() {
        // console.log("animComplate");
        PoolManager.single.returnNode(PrefabNames.CombatTxt, this.node.parent);
    }
}
